package com.lanbu.chat.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanbu.common.annotation.Excel;
import com.lanbu.common.core.domain.BaseEntity;
import com.lanbu.system.domain.mongo.MongoDatasets;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 问题反馈对象 im_problem_log
 *
 * @author lanbu
 * @date 2024-09-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ImProblemLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 说明 */
    @Excel(name = "说明")
    private String  Instructions ;
    /** 用户名 */
    private String userName;

    /** 处理人id */
    @Excel(name = "处理人id")
    private String handleId;

    /** 知识库应用id */
    @Excel(name = "知识库应用id")
    private String fastAppId;

    /** 知识库应用名称 */
    private String fastAppName;
    /** 知识库应用名称 */
    private String knowledgeBase;

    private Integer whetherCreate;
    /** 知识库应用名称 */
    private String collectionId;

    /** 问题 */
    @Excel(name = "问题")
    private String problem;
    /** 问题 */
    @Excel(name = "答案")
    private String answer;
    /** 是否已处理 */
    @Excel(name = "是否已处理")
    private Long status;
    @Excel(name = "应用和知识库")
    private List<MongoDatasets> datasets;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;


}
